package com.wenxin.springbootcacheconsistency.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单表
 * @TableName order
 */
@TableName(value ="`order`")
@Data
public class Order implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String orderNo;

    /**
     * 订单金额
     */
    private String amount;

    /**
     * 订单标题
     */
    private String title;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}